package pri.damai.xiaowu.usercenter.sysauth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pri.damai.xiaowu.usercenter.sysauth.entity.SysRole;

import java.util.List;
import java.util.Set;

/**
 * 角色表(SysRole)表服务接口
 * @Desc
 * @Author DaMai
 * @Date 2022-03-03 17:00:32
 */
public interface SysRoleService extends IService<SysRole> {

    List<SysRole> getRoleByUserId(Long userId);

    Set<SysRole> getRoleByUserIdAndSysId(Integer userId,Integer sysId);

}
